{if $smarty.get.find_jobidid}

<select name="jobtype" id="jobtype" class="select">
<option value="">- Select -</option>
    {section name=i loop=$tradejobtypeArray}
    <option value="{$tradejobtypeArray[i].id}">{$tradejobtypeArray[i].trade_category}</option>
    {/section} 
</select>

{/if}

{if $smarty.get.jobidid}

<select name="jobtype" id="jobtype" class="banner_inputbx jobtype">
<option value="">- Select -</option>
    {section name=i loop=$tradejobtypeArray}
    <option value="{$tradejobtypeArray[i].id}">{$tradejobtypeArray[i].trade_category}</option>
    {/section} 
</select>

{/if}
{if $smarty.get.jid}
<select class="input3" multiple="multiple" name="jobtype[]" id="jobtype" style="height:250px;">                    	
    {section name=i loop=$regtradejobtypeArray}
        <option value="{$regtradejobtypeArray[i].id}" {if $regtradejobtypeArray[i].checked eq 'select'} selected="selected" {/if}>{$regtradejobtypeArray[i].trade_category}</option>
    {/section} 
</select>

{/if}
{if $smarty.get.jobtypeid}
<select name="jobtype" id="jobtype" class="select">

<option value="">- Select -</option>
    {section name=i loop=$tradejobtypeArray}
    <option value="{$tradejobtypeArray[i].id}">{$tradejobtypeArray[i].trade_category}</option>
    {/section} 
</select>

{/if}


{if $smarty.get.catid}

					<section id="isTradeType">
                    <section>
                    <section class="banner_whattype_hd">What type of tradesman do you need?</section>
                    <section>
                    	<div>
                    	<select name="trade" id="trade" class="banner_inputbx trade" onchange="showJobType(this.value);">
	                    <option value="">- Select -</option>
                        {section name=i loop=$newtradecategoryArray}
                        	<option value="{$newtradecategoryArray[i].id}" {if $newtradecategoryArray[i].id eq $smarty.get.catid} selected="selected" {/if} >{$newtradecategoryArray[i].trade_category}</option>
                        {/section} 
    	                </select>
                    	</div>    
                    </section>
                    </section>
                    
                    <section>
                    <section class="banner_whattype_hd">What type of request is it? </section>
                    <section>
	                    <div id="isJobType">
                    	<select name="jobtype" id="jobtype" class="banner_inputbx jobtype">
                    	<option value="">- Select -</option>
	                    {section name=i loop=$newtradejobtypeArray}
                        	<option value="{$newtradejobtypeArray[i].id}">{$newtradejobtypeArray[i].trade_category}</option>
                        {/section} 
	                    </select>
                        </div>
                      </section>
                    </section>
                    <section>
                    <section class="banner_whattype_hd">Describe your quote request?</section>
                    <section><textarea name="describe_job" cols="" rows="" class="banner_textarea describe_job minlength"></textarea></section>
                    </section>
                    </section>

{/if}